﻿using MongoDB.Bson;
using Project.Core.Api.Common.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Project.Core.Api.Controllers.System.IUser.Dto
{
    /// <summary>
    /// 用户Dto
    /// </summary>
    public class UserDto : BaseDto
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 用户的角色ID
        /// </summary>
        public int RoleID { get; set; }

        /// <summary>
        /// 用户的组织机构ID
        /// </summary>
        public int OrganizationID { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        /// 手机
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 身份
        /// </summary>
        public string Sub { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Creater { get; set; }
    }
}
